package com.ouyy.volunteerservice.volunteer.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("volunteers")
public class Volunteers {
   @TableId(value = "volunteer_id", type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Integer volunteerId;

    private String name;

    private String avatar;

    private Date registrationDate;

    private BigDecimal totalServiceHours;

    private Integer systemRank;

    private String organizationIds;

    private Date joinTime;

    private Date leaveTime;

    private Integer numberOfActivities;

    private Integer politicalAffiliation;

    private String email;

    private String phoneNumber;

    private String wechat;

    private String qq;

    private String address;

    private String serviceArea;

    private String availableServiceTime;

    private String interestedServiceCategories;

    private Integer activityInvitationPermission;

    private Integer organizationInvitationPermission;

    private String password;

    @TableField("is_admin")
    private int isAdmin;

    @TableField("rating")
    private Integer rating;


}